package com.shop.domin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//#优惠券表
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("coupons")
public class Coupons implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer couId;//id
    private String couTitle;//标题
    private Double couMoney;//金额
    private String couimg;//图片
    private String coudescribe;//描述信息
    private String coubegintime;//开始时间
    private String couendtime;//结束时间
    private Integer couisok;//#是否有效 1有效，2无效
    private Integer proId;//商品id
    private Integer pbdId;//商家品牌id

}
